package com.framework.auth.geteway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
public class GeteWayServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(GeteWayServiceApplication.class, args);
    }
   /* @Bean
    public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
        return builder.routes()
                .route("pay-service", r -> r.path("/pay-service/test")
                        .uri("localhost:8888"))
                .build();
    }*/
}
